#! /bin/bash
docker rm -f wangxin-admin-front
docker run -it -v ./:/app/ --workdir=/app --network=docker-net --name wangxin-admin-front -p 8081:9528 node:16.13 bash -c "npm install --registry=https://registry.npmmirror.com;npm run build:prod"
cd dist
zip -r sadmin.zip .